package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * 预约入园(GeConReservation)实体类
 *
 * @author makejava
 * @since 2021-06-21 17:54:59
 */
@Data
public class GeConReservation implements Serializable {

    private static final long serialVersionUID = 663167810122958006L;

    /**
     * 预约入园主键id
     */
    private Integer reservationId;
    /**
     * 预约如用用户id
     */
    private String userId;
    /**
     * 预约入园用户名
     */
    private String userName;
    /**
     * 预约入园日期
     */
    private String date;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 0.已预约 1.已完成 2.已取消
     */
    private String status;
    /**
     * 随行人数
     */
    private Integer accompanyNum;

    private String phone;

    private Integer venueId;

    @TableField(exist = false)
    private String VenueName;

    private String image;

    private Integer num;

    @TableField(exist = false)
    private String place;

    private String lng;
    private String lat;

}
